package com.xy.server.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class FaceController {

    @RequestMapping(value = "/",method = RequestMethod.GET)
    public String helloHtml(Model model){

        return "/new/video-fast";
//        return"/hello-v";
    }

    @RequestMapping(value = "",method = RequestMethod.GET)
    public String hiHtml(Model model){

        return "/new/video-fast";
//        return"/hello-v";
    }

    @RequestMapping(value = "/profile",method = RequestMethod.GET)
    public String profileHtml(Model model){


        return"/new/profile-fast";
    }

    @RequestMapping(value = "/mosaic",method = RequestMethod.GET)
    public String mosaicHtml(Model model){


        return"/new/mosaic";
    }

    @RequestMapping(value = "/mt",method = RequestMethod.GET)
    public String mosaicTemplateHtml(Model model){


        return"/mosaic-template";
    }

    @RequestMapping(value = "/countdown",method = RequestMethod.GET)
    public String countdownTemplateHtml(Model model){


        return"/countdown";
    }
}
